﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.View;
namespace Benefit.Interface.View
{
    /// <summary>
    /// 交易员月累计
    /// </summary>
    public interface IOperatorMonthSum
    {

        void InitOperatorMonthSum(int month, int year);

        void Delete(int month, int year);

        OperatorMonthSum GetOperatorMonthSum(int operatorid, int month, int year);

        List<OperatorMonthSum> GetOperatorMonthSums(int month, int year);

        /// <summary>
        /// 获取操作员月总值(这个方法应该分两部分，如果账户这个月没有换过操作员，直接用账户总值，否则，计算每天的总值)
        /// </summary>
        /// <param name="operatorid"></param>
        /// <param name="week"></param>
        /// <param name="month"></param>
        /// <param name="year"></param>
        /// <returns></returns>
        void InitOperatorMonthSum(int operatorid, int month, int year);

        List<OperatorDayChange> GetOperatorDayChanges(int month, int year, int operatorid);


        List<OperatorMonthSum> GetGroupOperatorDayChange(int groupId, int month, int year);
    }
}
